package com.bingxue.edu.management.education.model.entity;


import com.bingxue.edu.common.enums.JoinTypeEnum;
import com.bingxue.edu.common.enums.StudentClassEnum;
import com.bingxue.edu.framework.common.model.BusinessEntity;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 班级学员
 *
 * @author zq
 * @since 2024/08/22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("edu_class_student")
public class ClassStudent extends BusinessEntity {

    @Schema(description = "报名id")
    private String enrollmentId;

    @Schema(description = "班级id")
    private String classId;

    @Schema(description = "学生id")
    private String studentId;

    @Schema(description = "学生加入方式")
    private JoinTypeEnum studentJoinType;

    @Schema(description = "学生行课状态")
    private StudentClassEnum studentClassStatus;

    @Schema(description = "备注（内部）")
    private String remark;
}
